Processes and Task Automation

" Scheduling Processes with at in Linux"

  • Scheduling Processes with at it Automate tasks to run once in the future perfect for backups, scans, or delayed execution.
    12-50-12-linux-31-Jul-2025.png

at Command Syntax

at [TIME]

📌 Then type the command(s) to run
Press Ctrl + D to finish.


Examples of Accepted Time Formats

🔤 Time Format 📅 Meaning
at 7:20pm Run at 7:20 PM today
at 7:20pm June 25 Run at 7:20 PM on June 25
at noon Run at noon today
at noon June 25 Run at noon on June 25
at tomorrow Run tomorrow
at now + 20 minutes Run 20 minutes from now
at now + 10 hours Run 10 hours from now
at now + 5 days Run 5 days from today
at now + 3 weeks Run 3 weeks from today
at 7:20pm 06/25/2019 Run at 7:20 PM on June 25, 2019

✍️ Example Usage:

at now + 3 minutes

When prompted:

./script.sh

Then press Ctrl + D to schedule it.


Use atq to list jobs
Use atrm <job#> to delete a scheduled job

13-08-28-linux-31-Jul-2025.png
atd daemon must be running (sudo systemctl start atd)

13-03-37-linux-31-Jul-2025.png

Introduction to cron proccess and crontabs overview:

  • cron can automate and run specific command at curtain time in loop also
  • Users may want to schedule a certain action or task to take place after the system has booted. Take, for example, running commands, backing up files, or launching your favourite programs on, such as Spotify or Google Chrome.
  • We're going to be talking about the cron process, but more specifically, how we can interact with it via the use of crontabs . Crontab is one of the processes that is started during boot, which is responsible for facilitating and managing cron jobs.
  • Website helps u to setup a crontabs Crontab Generator and Crontab Guru.